package com.example.demo.vo;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: Tian
 * @version: 1.0
 * @since: 1.0
 * @date: 2024/4/16/18:40
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("统一返回格式")
public class Result {
    @ApiModelProperty("状态码 200表示操作成功 500表示操作失败")
    private Integer code;
    @ApiModelProperty("响应信息")
    private String msg;
    @ApiModelProperty("响应数据")
    private Object Data;
}
